﻿using System;

namespace Glue.Converters
{
    internal class DoubleStringConverter:GlueDefaultConverter<double,String>
    {
        internal override string InternalMapTowardsRight(double from)
        {
            return from.ToString();
        }

        internal override double InternalMapTowardsLeft(string from)
        {
            return Convert.ToDouble(from);
        }
    }
}
